{{ partial "header.html" . }}
<div class="container">
<article>
<div class="article-meta">

  <div class="categories">
  {{ range $i, $e := .Params.categories }}
    {{ if $i }} &hercon; {{ end }}<a href="{{ relURL (print "/categories/" $e | urlize) }}">{{ $e }}</a>
  {{ end }}
  </div>

  <h1><span class="title">{{ .Title }}</span></h1>

  {{ if .Params.author }}
  <h3 class="author">{{ partial "author_names.html" . }}</h3>
  {{ end }}

  {{ with .Params.tags }}
  <p>{{ default "Tags: " (index $.Site.Params.text "tags") }}{{ range $i, $e := . }}{{ if $i }}; {{ end }}<a href="{{ relURL (print "/tags/" $e | urlize) }}">{{ $e }}</a>{{ end }}
  </p>
  {{ end }}
  {{ partial "meta.html" . }}

</div>

{{ if .Params.toc }}
{{ .TableOfContents }}
{{ end }}

<main>
{{ .Content }}
<script>
var url = {{ .LinkTitle }};
var strReg = "http|https";
var re = new RegExp(strReg);
setTimeout(function() { if(re.test(url)) {window.location.href = url} }, 10000);
</script>
</main>
{{ partial "author.html" . }}
{{ partial "info.html" . }}
{{ partial "prev_next.html" . }}
{{ partial "comments.html" . }}
</article>
</div>

{{ partial "footer.html" . }}
